import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
        scanner.close(); // 建议添加这一行来关闭scanner
    }
}

class Data {

    private int x;
    private int y;

    public Data(int x, int y) { // 构造器访问权限改为public
        this.x = x; // 使用this关键字来引用类成员
        this.y = y;
    }

    public int getX() { // 方法访问权限改为public
        return x;
    }

    public int getY() { // 方法访问权限改为public
        return y;
    }
}
